package com.smarthospital.dao.mapper;

import com.smarthospital.entity.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDao {


    int insertSelective(@Param("pojo") User pojo);

    int update(@Param("pojo") User pojo);

    User selectById(@Param("id")Long id);

    User selectByUnionid(@Param("unionId")String unionId);
    User selectByOpenId(@Param("openId")String openId);
}
